package com.wdb007.venus.svc.facade;

import com.wdb007.venus.svc.facade.process.model.ProcessInstructionLogDTO;

public interface ProcessInstructionService {
	
	/**
	 * 书柜推送服务器收到 应用服务器的开柜请求
	 * @param pi
	 * @return
	 */
	Long unlockReqFromAppServer(ProcessInstructionLogDTO pi);
	/**
	 * 书柜推送服务器 接收到书柜的开柜响应
	 * @param pi
	 * @return
	 */
	Long unlockRes(ProcessInstructionLogDTO pi);
	/**
	 * 书柜推送服务器  接收到应用服务器的 状态上报请求
	 * @param pi
	 * @return
	 */
	Long statusReqFromAppServer(ProcessInstructionLogDTO pi);
	/**
	 * 书柜推送服务器  给书柜发送书格状态上报请求
	 * @param pi
	 * @return
	 */
	Long statusReq(ProcessInstructionLogDTO pi);
	/**
	 * 书柜给 书柜推送服务器的书格状态上报响应
	 * @param pi
	 * @return
	 */
	Long statusRes(ProcessInstructionLogDTO pi);
	/**
	 * 书柜推送服务器  接收到应用服务器的 状态上报请求
	 * @param pi
	 * @return
	 */
	Long checkReqFromAppServer(ProcessInstructionLogDTO pi);
	
	Long checkRes(ProcessInstructionLogDTO pi);
	
	Long notifyToAPP(ProcessInstructionLogDTO pi);
	
	Long bookCaseCheckReq(ProcessInstructionLogDTO pi);
	
	Long bookCaseCheckRes(ProcessInstructionLogDTO pi);
	
	Long bookCaseUnlockReq(ProcessInstructionLogDTO pi);
	
	Long bookCaseUnlockRes(ProcessInstructionLogDTO pi);

	Long bookCaseStatusReq(ProcessInstructionLogDTO pi);
	
	Long bookCaseStatusRes(ProcessInstructionLogDTO pi);
}
